home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XmbDrawString.z / XmbDrawString
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmbbbbDDDDrrrraaaawwwwSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXmmmmbbbbDDDDrrrraaaawwwwSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XmbDrawString, XwcDrawString - draw text using a single font
  10.           set
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           void XmbDrawString(_d_i_s_p_l_a_y, _d, _f_o_n_t__s_e_t, _g_c, _x, _y, _s_t_r_i_n_g,
  14.           _n_u_m__b_y_t_e_s)
  15.                 Display *_d_i_s_p_l_a_y;
  16.                 Drawable _d;
  17.                 XFontSet _f_o_n_t__s_e_t;
  18.                 GC _g_c;
  19.                 int _x, _y;
  20.                 char *_s_t_r_i_n_g;
  21.                 int _n_u_m__b_y_t_e_s;
  22.  
  23.           void XwcDrawString(_d_i_s_p_l_a_y, _d, _f_o_n_t__s_e_t, _g_c, _x, _y, _s_t_r_i_n_g,
  24.           _n_u_m__w_c_h_a_r_s)
  25.                 Display *_d_i_s_p_l_a_y;
  26.                 Drawable _d;
  27.                 XFontSet _f_o_n_t__s_e_t;
  28.                 GC _g_c;
  29.                 int _x, _y;
  30.                 wchar_t *_s_t_r_i_n_g;
  31.                 int _n_u_m__w_c_h_a_r_s;
  32.  
  33.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  34.           _d         Specifies the drawable.
  35.  
  36.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  37.  
  38.           _f_o_n_t__s_e_t  Specifies the font set.
  39.  
  40.           _g_c        Specifies the GC.
  41.  
  42.           _n_u_m__b_y_t_e_s Specifies the number of bytes in the string
  43.                     argument.
  44.  
  45.           _n_u_m__w_c_h_a_r_s
  46.                     Specifies the number of characters in the string
  47.                     argument.
  48.  
  49.           _s_t_r_i_n_g    Specifies the character string.
  50.  
  51.           _x
  52.           _y         Specify the x and y coordinates.
  53.  
  54.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  55.           The _X_m_b_D_r_a_w_S_t_r_i_n_g and _X_w_c_D_r_a_w_S_t_r_i_n_g functions draw the
  56.           specified text with the foreground pixel.  When the _X_F_o_n_t_S_e_t
  57.           has missing charsets, each unavailable character is drawn
  58.           with the default string returned by _X_C_r_e_a_t_e_F_o_n_t_S_e_t.  The
  59.           behavior for an invalid codepoint is undefined.
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmbbbbDDDDrrrraaaawwwwSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXmmmmbbbbDDDDrrrraaaawwwwSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.           XXDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11),
  76.           XmbDrawImageString(3X11), XmbDrawText(3X11)
  77.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.